home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / PCI / New OF Tokenizer / Howto Flash < prev    next >
Encoding:
Text File  |  1998-01-12  |  839 b   |  29 lines  |  [TEXT/ttxt]

  1.  
  2.  
  3. tokenize NCR.of                                            ; tokenize our FCode source
  4.  
  5. save-image <NCR.bin>             ; save the tokenized image
  6.  
  7. makecreate NCR.bin NCR.txt        ; create download format for OF (MPW script)
  8.  
  9. dev / ls                                  ; display the dev tree root nodes (in OpenFirmware)
  10.  
  11. dev ..                                                    ; back up one level
  12.  
  13. dl <NCR-FLASH.of> cntrl-D            ; download the flash utilitiy (cut & paste)
  14.  
  15. dl <NCR.txt> cntrl-D                   ; download the code (cut & paste)
  16.  
  17. nv-erase                                            ; erase the flash
  18.  
  19. 8fff8000 100 dump                        ; examine flash contents
  20.  
  21. nv-flash                                             ; blow the flash ROM
  22.  
  23. 8fff8000 100 dump                        ; re-examine its contents
  24.  
  25. boot                                                     ; boot
  26.  
  27.  
  28. After booting look into the device tree to see if
  29. the device appears and looks reasonable.